package com.losdun.aftersales.controller.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Description
 * @Author Sword.Ye
 * @Date 2025/9/23
 **/
@Data
public class GuestOrderVo {
    @NotNull(message = "预约类型不能为空")
    private Integer orderType;
    @NotBlank(message = "姓名不能为空")
    private String name;
    @NotBlank(message = "手机号码不能为空")
    private String phone;
    @NotBlank(message = "所在地区不能为空")
    private String city;
    @NotBlank(message = "详细地址不能为空")
    private String address;
    private String openId;
    private String model;

    private String remark;

    private String images;
    private String video;

    public String getLongAddress(){
        return city+address;
    }
}
